function ShowCategories(){
    let categories = {
        "fenlei":[
            "精选@@https://gitee.com/mofeibai/hiker_info/raw/master/kuwo/jingxuan.png",
            "主题@@https://gitee.com/mofeibai/hiker_info/raw/master/kuwo/zhuti.png",
            "心情@@https://gitee.com/mofeibai/hiker_info/raw/master/kuwo/xinqing.png",
            "场景@@https://gitee.com/mofeibai/hiker_info/raw/master/kuwo/changjing.png",
            "年代@@https://gitee.com/mofeibai/hiker_info/raw/master/kuwo/niandai.png",
            "曲风流派@@https://gitee.com/mofeibai/hiker_info/raw/master/kuwo/qufeng.png",
            "语言@@https://gitee.com/mofeibai/hiker_info/raw/master/kuwo/yuyan.png"
            
        ],
        "detail":[
            [
            "最热@@hot",
            "最新@@new"
            
            ],
            [
            "翻唱@@1848",
            "网络@@621",
            "经典@@1265",
            "轻音乐@@173",
            "怀旧@@155",
            "古风@@127",
            "网红@@1879",
            "影视@@180",
            "器乐@@578",
            "游戏@@1877",
            "国漫游戏@@181",
            "ktv@@361",
            "喊麦@@216",
            "抖音@@2189",
            "3D@@1366",
            "店铺专用@@263",
            "纯音乐@@577"
            ],
            [
            "伤感@@146",
            "放松@@62",
            "励志@@58",
            "开心@@143",
            "甜蜜@@137",
            "兴奋@@139",
            "安静@@67",
            "治愈@@66",
            "寂寞@@147",
            "思念@@160"
            
            ],
            [
            "开车@@376",
            "运动@@366",
            "睡前@@354",
            "跳舞@@378",
            "学习@@1876",
            "清晨@@353",
            "夜店@@359",
            "校园@@382",
            "亲热@@380",
            "咖啡店@@363",
            "旅行@@375",
            "散步@@371",
            "工作@@386",
            "婚礼@@336"
            ],
            [
            "70后@@637",
            "80后@@638",
            "90后@@639",
            "00后@@640",
            "10后@@268"
            ],
            [
            "流行@@393",
            "电子@@391",
            "民谣@@392",
            "古典@@390",
            "民歌@@1921",
            "世界@@396",
            "乡村@@399",
            "摇滚@@389",
            "嘻哈@@387",
            "爵士@@397",
            "R&B@@394"
            ],
            [
            "华语@@37",
            "欧美@@35",
            "韩语@@1093",
            "粤语@@13",
            "日语@@1091",
            "小语种@@12"
            ]
        ]
    }
    let res = {}; 
    let d = []; 
    for(let i=0;i<categories.fenlei.length;i++){
        d.push({
            title:categories.fenlei[i].split("@@")[0],
            pic_url:categories.fenlei[i].split("@@")[1],
            url:"hiker://empty"+"@lazyRule=.js:'toast://别点我，再点，我直接原地爆炸'",
            col_type:"avatar"
        });
        var coltype ;
        var listmethod;
        var order_id;
        for(let j=0;j<categories.detail[i].length;j++){
            if(categories.detail[i].length == 2){
                coltype = "text_2";
                listmethod = "getRcmPlayList";
                order_id = "order=" + categories.detail[i][j].split("@@")[1]
            }else if(categories.detail[i].length == 3){
                coltype = "text_3"
            }else{
                coltype = "text_4";
                listmethod = "getTagPlayList";
                order_id = "id=" + categories.detail[i][j].split("@@")[1]
            }
            d.push({
                title:categories.detail[i][j].split("@@")[0],
                url:"https://kuwo.cn/api/pc/classify/playlist/"+listmethod+"?pn=fypage&rn=30&"+order_id+"&httpsStatus=1"+'@rule=js:var jsonfile = "hiker://files/kuwo/detailpage.js";var picfun = fetch(jsonfile);if(!picfun){picfun = fetch("https://gitee.com/mofeibai/hiker_info/raw/master/kuwo/detailpage.js",{});writeFile(jsonfile,picfun);}eval(picfun);ShowDetails();',
                col_type: coltype
            });
        }
    }
    res.data = d; 
    setHomeResult(res);
}


